package com.itheima.service;

import com.itheima.domain.User;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

public interface UserService {

    User findByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    void add(User user);

    void updateRole(Integer id, Integer[] ids);
}
